package com.ruoyi.apiserver;

import org.mybatis.spring.annotation.MapperScan;
//import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

/**
 * API服务模块启动程序
 * 
 * @author ruoyi
 */
@SpringBootApplication
@MapperScan("com.ruoyi.**.mapper")
@ComponentScan(basePackages = "com.ruoyi")
public class MhApiserverApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(MhApiserverApplication.class, args);
        System.out.println("心灵港湾API服务模块启动成功--版本为：3.9.0—beta:2025-11-16_09_14");
//        ConfigurableApplicationContext context = SpringApplication.run(MhApiserverApplication.class, args);
//        Banner banner = context.getBean(Banner.class);
//        System.out.println(banner); // 打印横幅信息
    }
}